package com.exce.om;

/**
 * @Author WaveHi
 * @Date 2/8/2021 下午 4:28
 * @Version 1.0
 * @Contact HJBWaveHi@163.com
 * @Description
 */
public class Person {

    private String name;//名字
    private Son son;//儿子
    private int age;//年龄

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Son getSon() {
        return son;
    }

    public void setSon(Son son) {
        this.son = son;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public Person() {
    }

    public Person(String name, Son son, int age) {
        this.name = name;
        this.son = son;
        this.age = age;
    }
}
